package org.tis.tools.abf.module.ac.controller.request;

import lombok.Data;
import lombok.EqualsAndHashCode;
import org.tis.tools.model.web.RestRequest;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Null;

/**
 * Created by chenchao
 * Created on 2018/8/2 8:57
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class AcOperatorFuncQueConditionRequest extends RestRequest {

    public interface filterByOperatorApp{}

    @NotBlank(message = "操作员ID不能为空")
    private String operatorId;

    @Null(groups = {AcOperatorFuncQueConditionRequest.filterByOperatorApp.class})
    @NotBlank(message = "应用ID不能为空")
    private String appId;

    private String funcId;

    private String name;

}
